package com.example.his.api.mis.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.example.his.api.db.dao.PermissionDao;
import com.example.his.api.db.pojo.PermissionEntity;
import com.example.his.api.mis.service.PermissionService;
import org.springframework.stereotype.Service;

import java.util.ArrayList;
import java.util.HashMap;

@Service
public class PermissionServiceImpl extends ServiceImpl<PermissionDao, PermissionEntity> implements PermissionService {


    @Override
    public ArrayList<HashMap> searchAllPermission() {
        return baseMapper.searchAllPermission();
    }
}
